from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.chrome.options import Options
from time import sleep

url = 'https://imooc.com'
chrom_options = Options()
chrom_options.add_argument('--headless')
chrom_options.add_argument('--window-size=1920,1080')
driver = webdriver.Chrome(options=chrom_options)
driver.get(url)

element = driver.find_element(By.CLASS_NAME, 'bg000').find_element(By.TAG_NAME, 'div')
elements_a = (element.find_element(By.CLASS_NAME, 'show')
              .find_element(By.TAG_NAME, 'div'))
print(elements_a)

sleep(5)
driver.quit()